package com.javatom.notes.seata.xa.order.mapper;



import com.javatom.notes.seata.xa.order.pojo.OrderPojo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @description:
 * @author: 曾维录
 * @time: 2020/8/19 15:16
 */
@Mapper
public interface OrderMapper  {
    @Insert("insert into `order` values (null,#{pojo.userId},#{pojo.falg})")
    int insert(@Param("pojo") OrderPojo orderPojo);
}
